package com.edu.bhu.admin.mapper;

import java.util.List;
import com.edu.bhu.admin.domain.BikRecord;

/**
 * 租车记录Mapper接口
 * 
 * @author heyinan
 * @date 2022-03-14
 */
public interface BikRecordMapper 
{
    /**
     * 查询租车记录
     * 
     * @param recordId 租车记录主键
     * @return 租车记录
     */
    public BikRecord selectBikRecordByRecordId(Long recordId);

    /**
     * 查询租车记录列表
     * 
     * @param bikRecord 租车记录
     * @return 租车记录集合
     */
    public List<BikRecord> selectBikRecordList(BikRecord bikRecord);

    /**
     * 新增租车记录
     * 
     * @param bikRecord 租车记录
     * @return 结果
     */
    public int insertBikRecord(BikRecord bikRecord);

    /**
     * 修改租车记录
     * 
     * @param bikRecord 租车记录
     * @return 结果
     */
    public int updateBikRecord(BikRecord bikRecord);

    /**
     * 删除租车记录
     * 
     * @param recordId 租车记录主键
     * @return 结果
     */
    public int deleteBikRecordByRecordId(Long recordId);

    /**
     * 批量删除租车记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBikRecordByRecordIds(String[] recordIds);
}
